package com.cda.common;

import com.cda.service.FaceService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class ApplicationReadyEventListener implements CommandLineRunner {

    private static Logger logger = LoggerFactory.getLogger(ApplicationReadyEventListener.class);


   // @Autowired
   // FaceService faceService;

    @Override
    public void run(String... strings) throws Exception {

        logger.info("系统启动成功，执行默认参数设置！");
        //faceService.setRecordCallback();

    }
}
